package com.zahb.qadx.model;

import com.chad.library.adapter.base.entity.JSectionEntity;

/**
 * Created by Zdw on 2021/02/24 15:49
 */
public class ExercisesWeekly extends JSectionEntity {

    /**
     * id : 76
     * practiceActivitiesId : 4
     * createYear : 2021
     * createMonth : 2
     * createWeek : 4
     * questionJson : 6299,7515,7060,1413,7981,5578,772,8032,3642,8352
     * createTime : 2021-02-25T16:00:00.000+0000
     * rootOrgId : 2031
     * isStart : 0
     */

    private int id;
    private Integer practiceActivitiesId;
    private int createYear;
    private int createMonth;
    private int createWeek;
    private String questionJson;
    private String createTime;
    private int rootOrgId;
    private int isStart;

    @Override
    public boolean isHeader() {
        return practiceActivitiesId == null;
    }

    public int getId() {
        return id;
    }

    public void setId(int id) {
        this.id = id;
    }

    public Integer getPracticeActivitiesId() {
        return practiceActivitiesId;
    }

    public void setPracticeActivitiesId(Integer practiceActivitiesId) {
        this.practiceActivitiesId = practiceActivitiesId;
    }

    public int getCreateYear() {
        return createYear;
    }

    public void setCreateYear(int createYear) {
        this.createYear = createYear;
    }

    public int getCreateMonth() {
        return createMonth;
    }

    public void setCreateMonth(int createMonth) {
        this.createMonth = createMonth;
    }

    public int getCreateWeek() {
        return createWeek;
    }

    public void setCreateWeek(int createWeek) {
        this.createWeek = createWeek;
    }

    public String getQuestionJson() {
        return questionJson;
    }

    public void setQuestionJson(String questionJson) {
        this.questionJson = questionJson;
    }

    public String getCreateTime() {
        return createTime;
    }

    public void setCreateTime(String createTime) {
        this.createTime = createTime;
    }

    public int getRootOrgId() {
        return rootOrgId;
    }

    public void setRootOrgId(int rootOrgId) {
        this.rootOrgId = rootOrgId;
    }

    public int getIsStart() {
        return isStart;
    }

    public void setIsStart(int isStart) {
        this.isStart = isStart;
    }
}
